package top.beiermode.geektime.projects.user.web.controller;

import top.beiermode.geektime.web.mvc.controller.PageController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;

/**
 * TODO
 *
 * @author Chen Song
 * @since
 */
@Path("/hello")
public class HelloController implements PageController {

    @GET
    @Path("/world")
    public String execute(HttpServletRequest request, HttpServletResponse response) throws Throwable {
        return "index.jsp";
    }

}
